<div class="bjui-pageContent">
    <form action="{:U('Admin/Block/addBlock')}" data-toggle="validate" data-alertmsg="false">
        <table class="table table-condensed table-hover" width="100%">
            <tbody>
                <tr>
                    <td>
                        <label for="base_id" class="control-label x85">所属基地：</label>
                        <select name="base_id" id="base_id" data-toggle="selectpicker" data-width="200">
                            <option value="0">请选择</option>
                            <notempty name="bases">
                                <foreach name="bases" item="vo" key="k">
                                    <option value="{$vo.id}">{$vo.name}</option>
                                </foreach>
                            </notempty>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="sn" class="control-label x85">地块编号：</label>
                        <input type="text" name="sn" id="sn" size="20" data-rule="required">
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="area" class="control-label x85">地块面积：</label>
                        <input type="text" name="area" id="area" size="20" data-rule="required">
                        <span>(平方米)</span>
                    </td>
                </tr>
                <tr>
                    <td>
                        <label for="remark" class="control-label x85">备注说明：</label>
                        <textarea name="remark" id="remark" rows="5" cols="50"></textarea>
                    </td>
                </tr>
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">添加</button></li>
    </ul>
</div>